package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.GreFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 明暗检表 视图
 *
 * @author code-generate
 * @date 2022-02-21
 */
@Data
@ApiModel(value = "CheckDesc 视图", description = "明暗检表 视图")
public class CheckDescVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 标段id
     */
    @ApiModelProperty(value = "标段id")
    @Excel(name = "标段id", orderNum = "0")
    private String sectionId;

    /**
     * 标段名称
     */
    @ApiModelProperty(value = "标段名称")
    @Excel(name = "标段名称", orderNum = "0")
    private String sectionName;

    /**
     * 检查人员
     */
    @ApiModelProperty(value = "检查人员")
    @Excel(name = "检查人员", orderNum = "0")
    private String checkName;

    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间")
    @Excel(name = "检查时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkDate;

    /**
     * 扣分
     */
    @ApiModelProperty(value = "扣分")
    @Excel(name = "扣分", orderNum = "0")
    private String score;

    /**
     * 0:明检，1:暗检
     */
    @ApiModelProperty(value = "0:明检，1:暗检")
    @Excel(name = "0:明检，1:暗检", orderNum = "0")
    private String type;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Excel(name = "内容", orderNum = "0")
    private String desc;

    private List<GreFile> fileList;



}
